{"id":38476,"date":"2009-01-31T10:01:15","date_gmt":"2009-01-31T10:01:15","guid":{"rendered":"https:\/\/www.vmengine.net\/2009\/01\/31\/how-to-mount-bootable-drives-in-vhd-format-in-xenserver-vm\/"},"modified":"2025-05-23T17:06:57","modified_gmt":"2025-05-23T17:06:57","slug":"how-to-mount-bootable-drives-in-vhd-format-in-xenserver-vm","status":"publish","type":"post","link":"http:\/\/temp_new.vmenginelab.com\/en\/2009\/01\/31\/how-to-mount-bootable-drives-in-vhd-format-in-xenserver-vm\/","title":{"rendered":"How to mount bootable drives in VHD format in XenServer VM"},"content":{"rendered":"<p><!--:it--><a href=\"https:\/\/temp_new.vmenginelab.com\/wp-content\/uploads\/2008\/10\/hvs1.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-68\" title=\"Hyper-V\" src=\"https:\/\/temp_new.vmenginelab.com\/wp-content\/uploads\/2008\/10\/hvs1.jpg\" alt=\"Hyper-V\" width=\"199\" height=\"203\"><\/a><a href=\"https:\/\/temp_new.vmenginelab.com\/wp-content\/uploads\/2008\/10\/xen51.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-medium wp-image-69\" title=\"XEN Server 5\" src=\"https:\/\/temp_new.vmenginelab.com\/wp-content\/uploads\/2008\/10\/xen51.jpg\" alt=\"XEN Server 5\" width=\"240\" height=\"209\"><\/a><\/p>\n<p>This is a mini guide to the chapter on swapping formats between Virtual Machine Manager.<br \/>\nIn this case we have native Microsoft Virtual Server VMs and we want to mount them on XenServer.<br \/>\nThe issue is simplified by the fact that they both use the VHD format as virtual disks.<\/p>\n<p>The operations to be carried out are as follows:<\/p>\n<p>Create an external EXT SR storage (example a NAS) with the XenCenter and copy the .vhd file to it.<br \/>\nNow through the SSH console we connect to the XenServer hypervisor and we can see a new folder in the path<\/p>\n<p><strong>\/var\/run\/sr-mount\/<\/strong><\/p>\n<p>Now we need to generate a new UUID using the command<\/p>\n<p><strong>uuidgen<\/strong><\/p>\n<p>and change the name of the .vhd file with the last one we generated<\/p>\n<p>Now we need to refresh the database using the command:<\/p>\n<p><strong>xe sr-scan uuid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx<\/strong><\/p>\n<p>where you need to put the EXT SR folder instead of the x<\/p>\n<p>Now we can go back to the XenCenter and create a new VM from template, <em>be careful not to start it<\/em>; once defined we delete the default disk and &#8220;attach&#8221; our disk under EXT SR and now we can boot the VM.<\/p>\n<p>If the disk was bootable, we will see the VM boot and probably only have driver problems to update.<\/p>\n<p>That&#8217;s it<\/p>\n<p><!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a mini guide to the chapter on swapping formats between Virtual Machine Manager. In this case we have native Microsoft Virtual Server VMs and we want to mount them on XenServer. The issue is simplified by the fact that they both use the VHD format as virtual disks. The operations to be carried [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":29050,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97],"tags":[247,250,251,252,541,542,543,408,259,544,545,546,431],"class_list":["post-38476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-en","tag-citrix-en","tag-hyper-v-en","tag-hypervisor-en","tag-microsoft-en","tag-microsoft-virtual-server-en","tag-uuid-en","tag-uuidgen-en","tag-vhd-en","tag-virtualization-en","tag-xe-sr-scan-en","tag-xen-en","tag-xencenter-en","tag-xenserver-en"],"aioseo_notices":[],"jetpack_featured_media_url":"http:\/\/temp_new.vmenginelab.com\/wp-content\/uploads\/2009\/01\/Come-montare-drive-bootable-in-VHD-format-in-XenServer-VM-1.jpg","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/posts\/38476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/comments?post=38476"}],"version-history":[{"count":1,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/posts\/38476\/revisions"}],"predecessor-version":[{"id":40832,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/posts\/38476\/revisions\/40832"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/media\/29050"}],"wp:attachment":[{"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/media?parent=38476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/categories?post=38476"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/temp_new.vmenginelab.com\/en\/wp-json\/wp\/v2\/tags?post=38476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}